﻿using System;

namespace DMZS.Model
{
    /// <summary>
    /// BakDlyOrder:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class BakDlyOrder
    {
        public BakDlyOrder()
        {
        }
        private string _ktypeid2 = string.Empty;
        private string _ktypeid = string.Empty;
        private string _ptypeid = string.Empty;
        private decimal? _qty = 0M;
        private decimal? _price = 0M;
        private decimal? _total = 0M;
        private string _comment = string.Empty;
        private DateTime? _date = DateTime.Now;
        private int? _vchtype = 0;
        private int? _unit = 0;
        private decimal? _toqty = 0M;
        private int? _pstutas = 0;
        private int? _unit1 = 0;
        private decimal? _qty1 = 0M;
        /// <summary>
        ///
        /// </summary>
        public decimal? Vchcode { get; set; }
        /// <summary>
        ///
        /// </summary>
        public string ktypeid2
        {
            set
            {
                _ktypeid2 = value;
            }
            get
            {
                return _ktypeid2;
            }
        }
        /// <summary>
        ///
        /// </summary>
        public string ktypeid
        {
            set
            {
                _ktypeid = value;
            }
            get
            {
                return _ktypeid;
            }
        }
        /// <summary>
        ///
        /// </summary>
        public string Ptypeid
        {
            set
            {
                _ptypeid = value;
            }
            get
            {
                return _ptypeid;
            }
        }
        /// <summary>
        ///
        /// </summary>
        public decimal? qty
        {
            set
            {
                _qty = value;
            }
            get
            {
                return _qty;
            }
        }
        /// <summary>
        ///
        /// </summary>
        public decimal? price
        {
            set
            {
                _price = value;
            }
            get
            {
                return _price;
            }
        }
        /// <summary>
        ///
        /// </summary>
        public decimal? total
        {
            set
            {
                _total = value;
            }
            get
            {
                return _total;
            }
        }
        /// <summary>
        ///
        /// </summary>
        public string Comment
        {
            set
            {
                _comment = value;
            }
            get
            {
                return _comment;
            }
        }
        /// <summary>
        ///
        /// </summary>
        public DateTime? date
        {
            set
            {
                _date = value;
            }
            get
            {
                return _date;
            }
        }
        /// <summary>
        ///
        /// </summary>
        public int? vchtype
        {
            set
            {
                _vchtype = value;
            }
            get
            {
                return _vchtype;
            }
        }
        /// <summary>
        ///
        /// </summary>
        public int? unit
        {
            set
            {
                _unit = value;
            }
            get
            {
                return _unit;
            }
        }
        /// <summary>
        ///
        /// </summary>
        public decimal? toqty
        {
            set
            {
                _toqty = value;
            }
            get
            {
                return _toqty;
            }
        }
        /// <summary>
        ///
        /// </summary>
        public int DlyOrder { get; set; }
        /// <summary>
        ///
        /// </summary>
        public int? PStutas
        {
            set
            {
                _pstutas = value;
            }
            get
            {
                return _pstutas;
            }
        }
        /// <summary>
        ///
        /// </summary>
        public int? unit1
        {
            set
            {
                _unit1 = value;
            }
            get
            {
                return _unit1;
            }
        }
        /// <summary>
        ///
        /// </summary>
        public decimal? qty1
        {
            set
            {
                _qty1 = value;
            }
            get
            {
                return _qty1;
            }
        }
    }
}

